(function() {
    'use strict';

    angular
        .module('zhserverApp')
        .controller('D_m_zhenghe_user_statController', D_m_zhenghe_user_statController);

    D_m_zhenghe_user_statController.$inject = ['$scope', '$state', 'D_m_zhenghe_user_stat'];

    function D_m_zhenghe_user_statController ($scope, $state, D_m_zhenghe_user_stat) {
        var vm = this;

        vm.d_m_zhenghe_user_stats = [];

        loadAll();

        function loadAll() {
            D_m_zhenghe_user_stat.query(function(result) {
                vm.d_m_zhenghe_user_stats = result;
                vm.searchQuery = null;
            });
        }
    }
})();
